package com.shujia.mr.kqzl;

import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Arrays;

public class Test {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new FileReader("hadoop/data/city.csv"));
        String line = null;
        int i = 0;
        while ((line=br.readLine())!=null){
            String[] strings = line.split(",");
            System.out.println(strings[0]+"-"+strings[1]+"-"+strings[2]);
        }

    }
}
